package com.dk.service;

import com.dk.pojo.TPerson;

import java.util.List;

public interface PerosnService {
    int insert(TPerson tPerson,Integer[] rid);

    int updateInfo(TPerson tPerson,Integer[] roleId);

    TPerson selectById(Integer id);

    List<TPerson> getInfo(String pname);

    int deleteById(Integer pid);


    TPerson loginInfo(TPerson user);

    Boolean selectcheckPhone(String uname);

    TPerson selectByPname(String username);
}
